#ifndef __EVENT_NOTIFICATION_H__
#define __EVENT_NOTIFICATION_H__

#include "Common.h"
#include "Poco/Notification.h"

using Poco::UInt32;
using Poco::Notification;

namespace cm_base
{
    class BaseNotification: public Notification
    {
    public:
        BaseNotification();
        BaseNotification(UInt32 type);
        virtual ~BaseNotification();

        void setType(UInt32 type);
        UInt32 getType();

        void setData(void* data);
        void* getData();

    protected:
        UInt32 m_type;
        void* m_data;
    };
}

#endif